package com.zkingsoft.web.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.web.bean.VisitorLog;

/**
 * @description (访问者)
 * @author 姜友瑶
 * @date 2019-02-11 20:10
 */
public interface VisitorLogDao{

	public int insert(@Param("item") VisitorLog visitorLog);
   	
   	public int batchInsert(@Param("list") List<VisitorLog> visitorLogList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")VisitorLog visitorLog);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String id);

	public int deleteByModel(@Param("record") VisitorLog visitorLog);
	
	public List<VisitorLog> selectInPage(@Param("record") VisitorLog visitorLog, @Param("pageVo") PaginationVO pageVo);

	public List<VisitorLog> selectByModel(@Param("record") VisitorLog visitorLog);
	
	public int selectTotalRecord(@Param("record") VisitorLog visitorLog);
	
	public VisitorLog  selectById(String id);
	
	public VisitorLog  selectForUpdate(String id);
	
}